﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Forest.Cat.Domain.Shared
{
    public static class ConstManager
    {
        public static readonly IList<int> PartNumbers = new List<int>() { 8, 4, 4, 4, 12 };
        public static readonly IList<double> PartMaxs = new List<double>() { 99999999,9999, 9999, 9999, 999999999999 };
        public static readonly IDictionary<GenerateType, Guid> DefaultIds = new Dictionary<GenerateType, Guid>();
        /// <summary>
        /// 薪水范围——面议
        /// </summary>
        public static readonly Guid Negotiable = Guid.Parse("00000000-0000-0000-0000-000000104199");
        public static readonly int NegotiableValue = 104199;
        static ConstManager()
        {
            DefaultIds.Add(GenerateType.Jobseeker, Guid.Parse("10100000-0000-0000-0000-000009000000"));
            DefaultIds.Add(GenerateType.Resume, Guid.Parse("10200000-0000-0000-0000-000008000000"));
            DefaultIds.Add(GenerateType.Work, Guid.Parse("10600000-0000-0000-0000-000009000000"));
            DefaultIds.Add(GenerateType.Skill, Guid.Parse("10300000-0000-0000-0000-000009000000"));
            DefaultIds.Add(GenerateType.Training, Guid.Parse("10500000-0000-0000-0000-000009000000"));
            DefaultIds.Add(GenerateType.Certification, Guid.Parse("10400000-0000-0000-0000-000009000000"));
            DefaultIds.Add(GenerateType.Education, Guid.Parse("10700000-0000-0000-0000-000009000000"));

            DefaultIds.Add(GenerateType.CoverLetter, Guid.Parse("10800000-0000-0000-0000-000007000000"));

            DefaultIds.Add(GenerateType.Application, Guid.Parse("11800000-0000-0000-0000-000006000000"));
        }
    }
}
